﻿using AutoMapper;

namespace Core.Toolkit.Core.Application
{
    public static class DtoExtension
    {
        public static T ToEntity<T>(this Dto dto) => Mapper.Map<T>(dto);
    }
}
